package com.ckjava.test.runner;

import com.ckjava.test.aop.annotation.AutoLog;
import com.ckjava.test.entity.UserEntity;

import java.util.concurrent.Callable;

@AutoLog
public class UserRunner implements Callable<UserEntity> {

    private String name;

    public UserRunner(String name) {
        this.name = name;
    }


    @Override
    public UserEntity call() {
        return new UserEntity("1", name);
    }
}
